import Vue from 'vue'
import Router from 'vue-router'
import Home from '../pages/home/home'
import ipczs from '../pages/ipczs/ipczs'
import login from '../pages/login/login'
import center from '../pages/center/center'

Vue.use(Router)

export default new Router({
  routes: [
    // 首页路径
    {
      path: '/index',
      name: 'Home',
      component: Home
    },
    //赞赏
    {
      path: '/ipczs',
      name: 'ipczs',
      component: ipczs
    },
    /*登陆注册修改密码*/
    {
      path: '/login/:type',
      name: 'login',
      component: login
    },
    {
      path: '/center',
      name: 'center',
      component: center
    },
  ]
})
